<template>
  <div>
    <div id="nav">
      <div>
        <router-link to="/home">首页</router-link>
      </div>
      <div><router-link to="/interaction">互动</router-link></div>
      <div><router-link to="/mall">商城</router-link></div>
      <div><router-link to="/mine">我的</router-link></div>
    </div>
  </div>
</template>

<script>
export default {
  name: "IndexFooter",
  setup() {},
};
</script>

<style lang='less' scoped>
* {
  border: 0;
  margin: 0;
  padding: 0;
}
#nav {
  width: 100%;
  height: 3.125rem;
  display: flex;
  bottom: 0;
  position: fixed;
  background-color: rgb(221, 231, 242);
  div {
    flex: 1;
    // background-color: lightblue;
    margin: 1px;
    text-align: center;
    line-height: 3.125rem;
  }
}
#router-view {
  background-color: pink;
  height: calc(100vh - 50px);
  overflow: auto;
}
</style>